package com.kkb.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class TbSpec implements Serializable {
    private Integer specId;

    private String specCode;

    private String specName;

    private Integer createId;

    private Date createTime;

    private Integer updateId;

    private Date updateTime;

    private String isDelete;

    private String status;

    private String bak1;

    private String bak2;

    private String bak3;

    private List<TbSpecOption> specOptionList;

    private static final long serialVersionUID = 1L;

    public TbSpec(Integer specId, String specCode, String specName, Integer createId, Date createTime, Integer updateId, Date updateTime, String isDelete, String status, String bak1, String bak2, String bak3) {
        this.specId = specId;
        this.specCode = specCode;
        this.specName = specName;
        this.createId = createId;
        this.createTime = createTime;
        this.updateId = updateId;
        this.updateTime = updateTime;
        this.isDelete = isDelete;
        this.status = status;
        this.bak1 = bak1;
        this.bak2 = bak2;
        this.bak3 = bak3;
    }

    public List<TbSpecOption> getSpecOptionList() {
        return specOptionList;
    }

    public void setSpecOptionList(List<TbSpecOption> specOptionList) {
        this.specOptionList = specOptionList;
    }

    public TbSpec() {
        super();
    }

    public Integer getSpecId() {
        return specId;
    }

    public void setSpecId(Integer specId) {
        this.specId = specId;
    }

    public String getSpecCode() {
        return specCode;
    }

    public void setSpecCode(String specCode) {
        this.specCode = specCode == null ? null : specCode.trim();
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName == null ? null : specName.trim();
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete == null ? null : isDelete.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getBak1() {
        return bak1;
    }

    public void setBak1(String bak1) {
        this.bak1 = bak1 == null ? null : bak1.trim();
    }

    public String getBak2() {
        return bak2;
    }

    public void setBak2(String bak2) {
        this.bak2 = bak2 == null ? null : bak2.trim();
    }

    public String getBak3() {
        return bak3;
    }

    public void setBak3(String bak3) {
        this.bak3 = bak3 == null ? null : bak3.trim();
    }

    @Override
    public String toString() {
        return "TbSpec{" +
                "specId=" + specId +
                ", specCode='" + specCode + '\'' +
                ", specName='" + specName + '\'' +
                ", createId=" + createId +
                ", createTime=" + createTime +
                ", updateId=" + updateId +
                ", updateTime=" + updateTime +
                ", isDelete='" + isDelete + '\'' +
                ", status='" + status + '\'' +
                ", bak1='" + bak1 + '\'' +
                ", bak2='" + bak2 + '\'' +
                ", bak3='" + bak3 + '\'' +
                ", specOptionList=" + specOptionList +
                '}';
    }
}